#include "NeoDoubleSpinBox.h"
#include "private/NeoDoubleSpinBoxPrivate.h"
#include "style/NeoDoubleSpinBoxStyle.h"

NeoDoubleSpinBox::NeoDoubleSpinBox(QWidget *parent)
    : QDoubleSpinBox(parent), d_ptr(new NeoDoubleSpinBoxPrivate())
{
    NEO_PUBLIC_POINT(NeoDoubleSpinBox)
    d->q_ptr = this;
    this->setStyle(new NeoDoubleSpinBoxStyle(this->style()));
    this->setAlignment(Qt::AlignHCenter);
}

NeoDoubleSpinBox::~NeoDoubleSpinBox() = default;